package com.sxbbc.bank.service;

import com.sxbbc.common.basics.rest.RestResponse;
import com.sxbbc.common.core.dto.banks.BankLoanVo;
import com.sxbbc.common.core.entity.banks.BankLoan;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sxbbc.common.core.utils.BasePage;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *      贷款类型主表
 * </p>
 *
 * @author liuguoyu
 * @since 2020-09-09
 */
public interface IBankLoanService extends IService<BankLoan> {

    RestResponse listDate(BasePage<BankLoan> page, BankLoan bankLoanApplyRecord);

    BankLoan saveBankLoan(BankLoanVo bankLoanVo);


    BankLoanVo getBankLoanById(String id);

    int update(BankLoanVo bankLoanVo);

    Map<String,String> getDataForMap();

}
